]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Remove an unused getter
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 26 Apr 2013 22:53:48 +0000 (18:53 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 15 May 2013 15:13:11 +0000 (11:13 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=700322

js/ui/status/network.js

index de4444a9e97b9189f535df8a56d2c29a8d5296dd..e449190242293a6fcbd8550588025984925a9ca8 100644 (file)
@@ -1397,10 +1397,6 @@ const NMVPNSection = new Lang.Class({
         this._deferredWorkId = Main.initializeDeferredWork(this.section.actor, Lang.bind(this, this._createSection));
     },
 
-    get empty() {
-        return this._connections.length == 0;
-    },
-
     connectionValid: function(connection) {
         // filtering is done by NMApplet code
         return true;